package com.tianshi.product.service;


import com.tianshi.entity.Categories;

import java.util.List;

public interface CategoryService {

    Categories getCategoryById(Long categoryId);

    List<Categories> getAllCategory();

    Long addCategory(Categories categories);

    Categories updateCategory(Categories categories);

    Long deleteCategory(Long id);
}
